<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<#include "/views/ftl/base/manager_include.ftl">
<head>
<base href="${basePath }" /> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>银行管理</title>
<script type="text/javascript">
$().ready(function() {
	$("#search_button").click(function(){
		$('#select_form').submit();
    });
});

</script>
</head>
<body style="background:#eef3f7;">
<#include "/views/ftl/base/head.ftl">
<div class="Main">
  <div class="dw">
<#include "/views/ftl/base/menu.ftl">
<#function a><#return "绑定账号_List"></#function> 
<!--右边内容-->
      <div class="Rightbox fl">
        <!--面包屑-->
        <div class="Bread_crbs clear">
          <div class="Bread_crbs_img fl"></div>
          <div class="Bread_crbs_text fl"><a href="javascript:void(0);"><span>银行管理</span></a><span class="fnt_famy">></span><a href="javascript:void(0);"><span>绑定账号列表</span></a></div>
        </div>
          <!--搜索框-->
        <form action="${basePath }manager/BankAccount_bankAccountList" method="GET" id="select_form">
        	<span class="fl searchTitle" style="font-size: 14px;color: #333333;">用户id:</span>
        	<div class="searchBox fl">
          		<div class="search_img fl"></div>
          		<input class="search_text" type="text" name="userId" placeholder="请输入关键字" value="${(userId?c)!'' }"/>  
        	</div>
        
            <a id="search_button" class="search_btn fl" href="javascript:void(0);"><span>搜索</span></a>
        
         
        </form>
        

        <div class="clear"></div>  
        <!--表格列表-->
        <div class="Table">
          <table id="table" cellpadding="0" cellspacing="1">
            <tbody>
              <tr id="gl">
			 <td>用户ID</td>
             <td>账户</td>
             <td>户主</td>
             <td>开户网点</td>
             <td>银行名称</td>
             <td>银行图示</td>
             <td>银行类型</td>
              </tr>
          <#if (bankAccountVo??)> 
         <#if ((bankAccountVo?size)>0)>
          <#list bankAccountVo as b>  
     		<tr>
			<td>${(b.userId?c)!''}</td>
			<td>${(b.accountNo)!''}</td>
			 <td>
             ${(b.accountPerson)!''}
            </td>
            <td>${(b.openAccountLocation)!''}</td>
            <td>${(b.bankName)!''}</td>
          	<td><img id="i1" src="${(b.bankLogo)!''}" height="100" width="100"></td>
            <td>
            <#if b.bankType==1>银行</#if>
            <#if b.bankType==2>交易平台</#if>
            </td>
              </tr>
           </#list >
          </#if>
          </#if> 
            </tbody>
          </table>
        </div>

	   <!--翻页按钮-->
  	<#import "../../base/pager.ftl" as p>
   	<@p.pager pager = pager baseUrl = "manager/BankAccount_bankAccountList" parameterMap={"userId":(userId?c)!''} />
      </div> 
   </div>
</div>



</body>
</html>

